<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>InFact: infact::StreamTokenizer::Token Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">InFact
   
   </div>
   <div id="projectbrief">Interpreter and factory for easily creating C++ objects at run-time</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceinfact.html">infact</a>      </li>
      <li class="navelem"><a class="el" href="classinfact_1_1_stream_tokenizer.html">StreamTokenizer</a>      </li>
      <li class="navelem"><a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html">Token</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">infact::StreamTokenizer::Token Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="infact::StreamTokenizer::Token" -->
<p>Information about a token read from the underlying stream.  
 <a href="structinfact_1_1_stream_tokenizer_1_1_token.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a>&gt;</code></p>

<p><a href="structinfact_1_1_stream_tokenizer_1_1_token-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#acab9e018c4ea60a98e313e3a02771fb5">tok</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The token itself.  <a href="#acab9e018c4ea60a98e313e3a02771fb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classinfact_1_1_stream_tokenizer.html#ac6e5b0b274a66a2a504ac4fd425c57b3">TokenType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#a8fdb3551211d91cdb94be0110313f9a8">type</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The token&rsquo;s type.  <a href="#a8fdb3551211d91cdb94be0110313f9a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#ade06808bb0ebd847b4d5d7c7b07a0092">start</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The starting byte of the token in the underlying stream.  <a href="#ade06808bb0ebd847b4d5d7c7b07a0092"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#a08b8a9e4a700aef306fcb1a32f5bdfac">line_number</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The line number of the first byte of the token in the underlying stream.  <a href="#a08b8a9e4a700aef306fcb1a32f5bdfac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#a39463d4c73522c5a8724e2c72984ce44">curr_pos</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The current position in the underlying stream just after reading this token.  <a href="#a39463d4c73522c5a8724e2c72984ce44"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Information about a token read from the underlying stream. </p>

<p>Definition at line <a class="el" href="stream-tokenizer_8h_source.html#l00112">112</a> of file <a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a>.</p>
</div><hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a39463d4c73522c5a8724e2c72984ce44"></a><!-- doxytag: member="infact::StreamTokenizer::Token::curr_pos" ref="a39463d4c73522c5a8724e2c72984ce44" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#a39463d4c73522c5a8724e2c72984ce44">infact::StreamTokenizer::Token::curr_pos</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The current position in the underlying stream just after reading this token. </p>

<p>Definition at line <a class="el" href="stream-tokenizer_8h_source.html#l00127">127</a> of file <a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a08b8a9e4a700aef306fcb1a32f5bdfac"></a><!-- doxytag: member="infact::StreamTokenizer::Token::line_number" ref="a08b8a9e4a700aef306fcb1a32f5bdfac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#a08b8a9e4a700aef306fcb1a32f5bdfac">infact::StreamTokenizer::Token::line_number</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The line number of the first byte of the token in the underlying stream. </p>

<p>Definition at line <a class="el" href="stream-tokenizer_8h_source.html#l00124">124</a> of file <a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a>.</p>

</div>
</div>
<a class="anchor" id="ade06808bb0ebd847b4d5d7c7b07a0092"></a><!-- doxytag: member="infact::StreamTokenizer::Token::start" ref="ade06808bb0ebd847b4d5d7c7b07a0092" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#ade06808bb0ebd847b4d5d7c7b07a0092">infact::StreamTokenizer::Token::start</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The starting byte of the token in the underlying stream. </p>

<p>Definition at line <a class="el" href="stream-tokenizer_8h_source.html#l00122">122</a> of file <a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a>.</p>

</div>
</div>
<a class="anchor" id="acab9e018c4ea60a98e313e3a02771fb5"></a><!-- doxytag: member="infact::StreamTokenizer::Token::tok" ref="acab9e018c4ea60a98e313e3a02771fb5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#acab9e018c4ea60a98e313e3a02771fb5">infact::StreamTokenizer::Token::tok</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The token itself. </p>

<p>Definition at line <a class="el" href="stream-tokenizer_8h_source.html#l00114">114</a> of file <a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8fdb3551211d91cdb94be0110313f9a8"></a><!-- doxytag: member="infact::StreamTokenizer::Token::type" ref="a8fdb3551211d91cdb94be0110313f9a8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classinfact_1_1_stream_tokenizer.html#ac6e5b0b274a66a2a504ac4fd425c57b3">TokenType</a> <a class="el" href="structinfact_1_1_stream_tokenizer_1_1_token.html#a8fdb3551211d91cdb94be0110313f9a8">infact::StreamTokenizer::Token::type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The token&rsquo;s type. </p>

<p>Definition at line <a class="el" href="stream-tokenizer_8h_source.html#l00116">116</a> of file <a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/infact/<a class="el" href="stream-tokenizer_8h_source.html">stream-tokenizer.h</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 23 2014 10:07:53 for InFact by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
